/*
 * @Author: 飞越疯人院 353362604@qq.com
 * @Date: 2022-09-22 09:44:20
 * @LastEditors: 飞越疯人院 353362604@qq.com
 * @LastEditTime: 2022-11-28 10:41:19
 * @FilePath: \adminstration\src\Common\Modal\ThrModalList\SampleEnclosure.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import { commonTableList } from '../config'

export const ProjectFundYearStat = async ({ data }) => {
    let dataList = {
        url: 'ProjectFundYearStat',
        uuid: data.uuid,
        type: '项目菜单配置',
        width: 600,
        classification: 'FormModal',
        hideInSearch: true,
        pageSize: 10,
        params: {},
        added: 'posProjectFundYearStat',
        additional: { OrganizationUuid: data.uuid },
        columns: [
            { ...commonTableList.tableName, title: '资金年实际名称', className: 'RemarkForm' },
            {
                dataIndex: 'year',
                title: '年度',
                valueType: 'Date',
                picker: 'year',
                className: 'RemarkForm',
                rules: true,
                width: 150,
            },
            {
                dataIndex: 'investAmount',
                title: '年度投资实际金额',
                valueType: 'inputNumber',
                className: 'RemarkForm',
                rules: true,
                width: 150,
            },
            {
                dataIndex: 'returnAmount',
                title: '年度回款实际金额',
                valueType: 'inputNumber',
                className: 'RemarkForm',
                rules: true,
                width: 150,
            },
        ],
    }
    return dataList
}
